Refactored the DB class. Have a current working FormValidate class.