Add flags for configuring distributor

Adds basic flags so everything is not all hardcoded.