added programtype route
more route fixing
finishing up routes