added tables and migrations