Creates all the tables