View refactoring

Replaced silly "#{some_variable}" to some_variable in many view methods. replaced each block in views with render :collection option. Moved some view logic to helpers.