added sphinx doc for singleton and observer