added figure describing architecture