Changing the structure of character_controller

What I had before did not correctly match the specifications