removed keylistener
reworked imports