Add caching and yml loader to Validator