api router: added AddAll method.
service: added suport for proxy to run extra commands.

closes #863.