Move Rails stuff into main directory