Refactoring: Implemented singleton pattern for Dao and Service