Remove autopublish and set up basic publishing
Adds basic routing