API as a package: Structure