Non static bundle registration

- Replaced static implementation of bundle registration with
IBundleConfig
interface, for better testability and possible bundle configuration
injection.