I personally think that if you have the leverage you say you do in this situation, is to do what you say (develop the service) using different code of course, and then sell yourself to them as a consultant for at least triple the amount they had you on for beforehand.