Suppose you want to add a map module to ERPNext to show Leads on a map. You want to add fields to the Leads DocType (Latitude, Longitude), as well as to add a custom Workspace (that displayed the Google Map).
How do you package this so that it can be installed with ever new instance of ERPNext, without having to manually create the DocTypes/Fields/Workspaces every time?