Added PointerList class to track allocated memory.

Signed-off-by: gabriel <gabriel@robocore.net>