Use cloud objects in view

This allows us to get rid of several instance variables in the
controller. Passing around reference to objects rather than a handful of
primitives is also a nice improvement.