Updated documentation and license, minor fixes