add license, fix #19