add first pieces of PM Api class