more OO implementation.
Introduced the Pool class, finished testRaisePermanenceThreshold
refactored a lot of the initialization routine