- made the object-pool generic and moved it to it's own file

- added a test for undefined ratios