If you need a townhall to build a certain villager or worker just add that worker to the townhall > unit trained. If you want to remove some of the structures built by the workers just remove the structure in the worker stats under > units built. All in the object editor. Its really easy.