Added flags to serve purpose described in mux/demux ticket.
Moved launch from handler to server.

need to do same with input and find demuxed process.