PR changes.

refactoring view
Remove puts
Merge pull request #14 from VasylRishko/refactoring_views

refactoring view