initial Api class