[MC] register class by package and get components by annotation