Added route processing to View
passing route in view constructor