New Generic Repository and Accessor patterns. Updated controllers.