add service module and entities.