add object pool pattern
unifies indentation
typo
Merge pull request #76 from johnikx/pool

add object pool pattern