added license and a few updates