What are the functions of the cetral nervous system and peripheral nervous systems?