added CharacterController.php