implements client and worker tasks of the prototype
connects brokers in the cloud
connects local frontend and backend