moving metadata out of modules and into queue/__main__.py