Added missing test of the .new method.
Library restructure.
Started adding array support.