Refactor front-end CMS editor application

This is now functionally equivalent to master.