add license headers to all files, minor docblock cleanups