some tests
some API cleanup plus SaveAction
docs