move config files into rails app