Hooking in submission code into controller. Various view changes.