Postgre refactor & IoC

* most unit tests on green with postgres
* introduced single composition roots for IoC
* remove IoC dep in the class implementations, using constructor injection with auto wiring instead