add in ability to use pools
Merge pull request #2 from whyrusleeping/master

add in ability to use pools for allocation