Updated WebHandler. Function are written and a sample example is present.