public Server() { ServerLog logWindow = new ServerLog(); this.logger = logWindow.logger; accountDAO = new AccountDAOImplementation(this.logger); accountDAO.loadAccounts(); accountDAO.loadCards(); authService = new AuthenticationService(accountDAO); accountService = new AccoutService(accountDAO, this.logger); logWindow.Show(); this.logger("Server Started"); }