Model view

Add increased commenting and event handling in a router-model-view architecture.