Now uses the DatabaseAdapter.js