#68 refactor of the service and add support to allschema mode