Added license and documentation.