moved logic out of erb view
moved logic out of erb view
changed gitignore
updated readme