Extract asset registry
Move asset registry into core