import from Mercurial

added License
updated copyright details