added datamapper and event model
saving event when posting new one to api