Fixed controller/view resource.
Fixed logic.
Model updates and fixes.