Created a KeyList class and changed all the KeyEvents that are used by the main loop and the key listener.
It's now possible to change a key by simply editing one line of code !