Use the revealing module pattern to keep the db private