Added all the rails stuff.
Finished adding rails files.