cc-bmean: Refactored all registration and injection to the top of the component files.