Setup IOC and added windows service to maintain database