Implemented parsing for imem and dmem.
Merge pull request #6 from JoshuaNelson/master

Implemented parsing for imem and dmem