Code cleaned an applied license
Added license file