import realdb-facts code into new github repo