Add main entry for api generation