Add some quick database functionality