Writing the Service Manager and Service Manager Implementation Class.