DB setup

Setting up the DB and migration scripts