This commit does just enough to move the address manager into its own package. Since it was not originally written as a package, it will require a bit of refactoring and cleanup to turn it into a robust package with a friendly API.