Normalize use of docstrings for public functions, comments for private
Write to temp file instead of using insert command.
Add license
Update README