Add database access classes to repo