create entities by yaml file