Added IOC, Ninject

Re-factored connections to use IOC container.