add license, readme and some improvements