creating new modules for the service and directive