DNN KickStart is able to generate IPortable (Import / Export) code in one click.
Select this feature to generate the import and export code for your module
Selecting this option will create the implementation of the IPortable function in the Module Controller.