working on using api to create sld

not quite there yet