started input implementation
fixed compilation errors
added logs and some jank
Merge branch 'input'

* input:
  added logs and some jank
  fixed compilation errors
  started input implementation