createService(schema, schemaMods) {
		let service;

		schema = this.normalizeSchemaConstructor(schema);
		if (Object.prototype.isPrototypeOf.call(this.ServiceFactory, schema)) {
			service = new schema(this, schemaMods);
		} else {
			service = new this.ServiceFactory(this, schema, schemaMods);
		}

		// If broker has began to start its initial services yet, call the started lifecycle event of service
		if (this.started || this.servicesStarting) this._restartService(service);

		return service;
	}
Create a new service by schema

@param {any} schema	Schema of service or a Service class
@param {any=} schemaMods	Modified schema
@returns {Service}

@memberof ServiceBroker