Things outside views

Put things in your view class code as much as possible.