changed EngineValidator to static class and moved all validating methods there