architecture doc, first version