Code for Simpleweb coding exercise