update license and more comments