Began implementing input system and refactored various components