nicier layout
refactoring; moved method to proper class;
Merge branch 'master' of https://github.com/melezhik/pjam-on-rails