Updated default constr to check if table exists, and if it doesn't, then create the table.