Introduce an initial layout for the query function to the Database Manager wrapper class. #2