Singleton design pattern implementation

Implemented Singleton Design pattern for all the services and the
DBConnection to optimize memory utilisation