Added license, some changes in documentation.