I don't really have any experience with the specifics of the deal you're trying to arrange so id only be guessing, but its essentially a licensing agreement? you're licensing the company to use your software under particular terms, so perhaps research into that a little. Hope that helps.