Removed virtual from Server::~Server
Made helper functions static