added callbacks and improved readme