Added missing includes
Better API for pointer access
Stuff
Added non-atomic exchange function