Fixed forgotten rename for references costs migration
Refactored views and routes to use Reference instead of Unit