SharedPointer, SharedArrayPointer

more to do, but now array class works much smoother