Added main class api doc