Improved docs + structure. Added infrastructure for managing DOM events in views.