- removing autopublish
- introducing a shared folder for collections
- renaming files to main.js so they get loaded after the shared folder
- making the publish function return only acts relevant to the currently loaded map
- removing obsolete comments and tidying up the templates naming