public static void main(String[] args) {
        Config.load();
        String driver = "com.mysql.jdbc.Driver";
        try {
            Class.forName(driver).newInstance();
            conn = DriverManager.getConnection(Config.db_host+Config.db_db, Config.db_user, Config.db_password);
            
            GameQueues.create();
            ServerListener.start();
            
        } catch(SQLException ex)
        {
            LOGGER.log(Level.SEVERE, "Couldn't connect to database (" + driver + ").");
        } catch (Exception ex) 
        {
            LOGGER.log(Level.SEVERE,ex.toString(),ex);
        } finally {
            try{
               if(conn!=null)
                  conn.close();
            } catch(SQLException se){
               se.printStackTrace();
            }
        }
    }