Fixed client handler instantiation
Moved port setting to configuration file instead of being hard-coded