Over the last year I setup (registered) my own company so I could do freelance and contracting. I also produced some digital products for sale on the app stores.
During that time I built a very useful framework and ORM for building out back-end APIs. The language I am using basically only has 1 other web framework which has too many limitations for me, so I built my own. - I personally own the IP, but brand the framework under the company. I would be happy to write a contract to say my company has unrestricted use of it.
Now I am going back into the corporate world and have just been offered CTO with a startup. My question is, would it be wrong to use the framework I built for my company, as the main back-end technology at this new company in the following circumstances:
1) I could licence it out for an annual fee
2) I make it open source
Would I need to disclose it as conflict of interest under either circumstance?