move input processing to natty class
move input processing to natty class