Input Change

Changed the way input is handled through a singleton.