impr(webapp/standalone): add uuid generator and use in memory db