Add x-service filtering

it's a bit unsafe to have these "global" declarations. We had a bug related to that in fortune. May i suggest just wrapping the whole thing in a module pattern? Would also make it consistent with other components