Document Main and Config