Refactored Input handling. Now more efficient with keys combination working.