added database files and a script to migrate db tables