Creating an Extension

You can create an extension in a separate file for sharing by multiple models or one which is embedded in a single model.