Removes autopublish and set up a basic application