Add safe and pure annotations to Config.getKeyType;
Convert all keypresses to keytypes before passing them into objects in World