Working on input. Implemented keys listening