Migrate all 'action' code to the new internal actions package to reduce
the number of internal packages.
Migrate the Bundle type to a separate package to avoid circular
dependencies.
Refactor code around bundle definition and download for relevant
services.