Sanitize API, add documentation, update demo app