Create structure of tables