Added injecting on_success & on_error by reflection; added sending data to remote MongoDB