Refactored player input code and living class to support sounds and movement