added tags command-line flag

The idea is different nodes might have different roles (or tags),
such as "this node X can only run the planner and queryer".