create a rain db from ws.db data