added license and documentation