Splitted packages in to a client-part and a server-part. Implemented stopServer method