renamed controller and refactored object sprite rendering