make a managed container class for pointers