Added license to code