So I have partnered with a guy that had an idea, but cannot write code, that's where I came in the picture.
He worked 7 years in the industry that were are trying to break into and knows the requirements for the software to meet the needs of this said industry. We are almost in the final phase of the alpha version and then we will make the company for it.
We will both have 50% share in it. Is it possible so that I own the source code? He wants the company to own it that we will make, but I feel like then, I can maybe be eliminated from the picture later on, an my only card is that I wrote the whole software and every part of it. Of course I can't start the company without him because I don't know said industry that well, so that would fail miserably. But neither he because he doesn't have the source code.
What possible solutions exist to this so we are both defended (I can't backstab him and sell the software later and he can't eliminate me and use it as his own) and I still own the source code?
If it is possible at all.