Creating the character controller