Add doc on architecture