currently only considers component archetypes. still missing proper handling of thread local systems and resources