Added Validation forTables . Defined new Classes for Query Executor