Web server code for the custom implementation of Snap!