Modified application to load web request handlers; Removed logic from template code