Refactored out web handler
Extracted all custom handler behaviour out
Seperate arrangement from work