Updated the client and broker code; added configuration file