finished v1 of sql table files