Add new api usage mechanism.
Add test
Move to new file. Build and tests pass.
Fix call to removed function EncodeIndent
Merge pull request #203 from lavalamp/api

cloundcfg api improvements