Add callback to the ioloop
Merge pull request #4 from mindinpanic/master

Add callback to the ioloop