first pass at making this module use a remote DB.