begin implementation of lab deliverable 2
implementing Broker marshall
deliverable 2 addTo and getLength working