Created main service.