Add Dispatcher class based view instead of dispatcher function. Need to test.
Test Class based View.