Method for treatment of diseases of central nervous system (CNS) and improvement of cognitive function by nanoscaffolds