Add yaml_loader and use it on initialize