add component registry
rework of route rule