cpu: Change raw pointers to STL Containers