Added a custom controller for handling damage and moved movement to the platform controller