API class diagram version1