Merge branch 'release/0.5'
Update rails
Refactor code according to code climate suggestions
Make read me markdown format