putting the agenda controller into the same file as view