Added serverside functionality
Removed autopublish and set up a basic publication