Merged updates from memory and log repos.
Added .gitignore
Major revisions, completely restructured allocation scheme.