start of data integration

added new execute function to sql
added the default table models for prev and prev2