Added handler parameter to server contsructor
__init__ for imports