Interface with backend and simplistic backend using the interface

maybe move this into a utility function since it's not going to be specific to the database.