moved everything out of rails folder into main directory