Updated memory management, more descriptive errors
Beginning support for modules