I have code of mine, developed before joining the company as a co-founder, that I used for the company product (website) but want to retain the copyright and all IP rights to it and to be able to use it in other personal or commercial projects outside of the company. This code does not represent the core functionalities of the product.
How can I do it?
One solution would be to license the software to the company. A more in-depth question on this approach is asked here: Licensed software and due diligence: sufficient?