Added init and run
Added keylistener