Strongly typed actions

Moved from dynamic to strongly typed returns from controller actions so
we can add tests more easily