Initial commit: add license and import from SVN [r16]