Altered input class. Uncompiled atm due to work environment
Improved input class, altered functions to check key states