Move component building to yaml