Preliminary changes; create profiles for web publishing; endpoints for preview and publish (not functional yet)