Reorganise the back server code
Move format matchers into separate files