Latest API facility changes, support for auto SQL api calls.
Break parameter validation system into a separate class file.