Adding comment referencing #134.
More succinctly implement declare_state.
Move comments
Simplify syntax of for loop
Moved master working set construction into classmethods of WorkingSet.