Bug fixes

Removed redundant dependencies in views, models, collections, router,
and the main script.