modified databaseAccess

DatabaseAccess now looks for endeavourdb