restructure the rails folder