move database-specific stuff into DataAccess class
implemented getMaps