Added license and code