Removed 'autopublish' smartpackage and set up a basic publication/subscription system.