Server cleanup and debugging
Adds custom requestHandler for storing global status