I'm wondering why you bothered to bring it to your company in the first place. I know it was built to address the specific need of your team, but it sounds like you want the freedom to sell it to a wider audience. It sounds like you protected yourself with how you developed the code, but why involve your employer now? Can you sell your product without using your current employer as customer #1? Are they going to be a paying customer?