change contractRepository and created DistributionsController
added files for previews commit