Add new component type modules and move all component 'methods' to the module level.