connectionManager = new ConnectionManager();
fileTable = new SharedFilesTable();
searchManager = new SearchManager();
uploadManager = new UploadManager();
downloadManager = new DownloadManager();
Runtime.getRuntime().addShutdownHook(new ShutdownHook());
new Listener();