Moved main.js and main.html into proper spots. Removed Autopublish and wrote my own publish function in main.js