Removed the entity manager factories and replaced them with much simpler transactions.
Removed an unused transaction provider.