added env setting, migration file, db settng