Architecture document for issue #41
Added more info to the architecture document.