moved rails to templates/rails