Added license headers to code