Royalty structures and licensing agreements in the software industry