get rid of all the unnecessary tables and constraints for the local database
store task results into local database (for now)