Added license to source code, and separate license file.