So you created a module
The great thing about modules is they are transportable.
Hint: Mess with Core and they are not. You can overide or extend Core functionality with your module , but don't mess with Core.
XCN provides a method for making your modules portable. Take a look in /etc/Config.php and find developer_mode = Off. Change this to developer_mode = On and check out your Add Ons list in Admin. You now have a "Pack it" option next to enabled.
Litecommerce with Drupal
Custom Mods, Hosting and Support for Xcart-Next and LiteCommerce