Refactoring Gemfile
Refactoring database config
Travis config