closes #2 - New Class implemented to deal with keyboard states. Class
restructuring for simplicity.