Memory format

First effort in providing a memory format, addresses #3 
Still ongoing, but @rlyon I could use your feedback if you have recommendations.