fixing the routes to support app context

removing c3po in front of routes and adding
c3po app context.

fixing add diagram parameters issue