created initial API class