begin replacing inefficient memory management with a pool-based solution; fix memory leaks