move rails to separate repositry