Created server thread class