huge update with a model now and ruby helpers in view