Added license, and updated documentation