Includes memory in the main file. No requires.

This apparently hurts performance quite a bit, but
I have no idea why.
Tests are passing.
Array input/output API