added rails project
refactors