Add memory map document
Fix some comments
Fix enabling of interrupts