Hi, In 2013, a friend requested my help in building what became very profitable technology. We agreed on various splits for work to be completed by both. We also shared expenses relative to our holdings. We were both exposed to the upside as well as the downside. I still have all the logs where we were discussing our various agreements. Last month, he effectively locked me out of the system (for matters completely unrelating to work - and purely facile reasons regardless). Once he locked me out, he offered me $X dollars and with the very loose possibility of things returning to normal in 2017 once things had calmed down. The $x doesn't come close to the true value of my percent, plus, the vagueness of if we would continue or not wasn't clear at all (basically if both parties agreed to at the time). When I asked for a fair buyout without the chance of continuing he basically said f-off and that he would rewrite the code I had done. What are my options here under commercial law? We definitely have a partnership agreement (tho it was agreed an uneven split). Can he just lock me out and redo my code? And that after I wore the risk in startup mode for my percent and now that it's successful he can just redevelop my chunk?