Expose Worker and Master objects

Change-Id: I05eae918205e52c6ea55d5132b98badbe04626b5