finished up database access classes