Arrays now can build const views too.
Removed some friend for now.
Fixed some bugs in array copying.
Updated view to new style.