Removed unused migrations, models, views, routes, links, js, etc.
Fixed side effects of cleanup.