Updated readme and added callbacks.