reorganize compat layer and add simplistic emulation for midcom_component_data