Refactoring karyon to provide both programmatic and annotation based bootstrapping.