Configurable TOTAL_MEMORY. Multiple module instances possible. Bump version to 0.5.0. Closes #13.