Centralized input keys

Also made more dynamic key-changing possible