expose as api
rename module, split config
refactorin
cleaner output
ditched old code