public DataAccess()
    {        
        try{
        Class.forName("org.sqlite.JDBC");
        //conn = DriverManager.getConnection("jdbc:sqlite:Database.db");
        conn = DriverManager.getConnection("jdbc:sqlite:./Database");
        stat = conn.createStatement();
        }
        catch(ClassNotFoundException e){
            System.out.println("Database Connection not established");
            System.out.println(e.getMessage());
        } catch (SQLException e) {
            System.err.println("Database connection not established (SQLException)");
            System.err.println(e.getMessage());
        }
    }