What are the three layers of central nervous system?