Work in progress.
First attempt at object pool.
Add test for pool.