added routes for crab views
created seperate test files