fixed a comment
changed the input callback method from boost's callbacks to listeners