Added distributor record with rest implementation, beginnings of ui impl...

...ementation.