Conversion from RethinkDB to Standalone App