Updated license and code