Fixes issue #93.

Also refactors views to include a masterview that provides scope for $ method calls.
Merge pull request #105 from insignia4u/issue-93

Fixes issue #93.