bring back db. lock gemfile. set routes