add license and readme, fixes #1