Validator refactor and Manifest xsd definition for connectors