public static void connectToDB () {
        try {
            Driver driver = (Driver) Class.forName("org.sqlite.JDBC").newInstance();
            DriverManager.registerDriver(driver);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }