added search by units, default selected values for days and units
separated modal views into partials
fixed Gemfile rake versioning bug