Server side code for the DQX tool kit