use package names in deps; add apidocs subpackage; cleanups