Changed ApplicationController to an ArrayController and made a totalExpenses computed property