Added namespace parameter to constructor, allowing to publish more than one service at the same time