moving all the stuff from the simple-cms-server work over to here