Moved arrays stuff to their own package