implemented yml generation with custom categories