added syste architecture, updated flow chart