sets up db tables now