How do I distribute my application?

I have written an application for Calc that I would like to distribute. It consists of some dialogs and macros. I have located the appropriate files. I am having a problem trying to write the installation instructions so that the files can be copied/imported into Calc. Must they be imported into Calc or can I point Calc to where the directory where the files are located?

I think the best way could be distributed as extension.

That sounds like the best approach.
I looked at the link and I am having a hard time finding information on how to package my code and dialogs as an extension. I would like a little help in locating that part of the documentation that shows how to package my stuff.

Thank you.