Gave the key handler class its own java file