edit collection controller basic, refactor application_helper methods to cover multiple models (mesh and collection)