Performance counter changes (WIP)

I think you will be better off creating the context each time you want to save your entities to the database instead of using long running context. Connections should be pulled so it should not create a lot of overhead.