persisting of data to web api and elasticsearch. Fixed a few bugs stopping this and automapper now configured.