added Distributor controller
moved Distributor creation to distributor controller