refactor: app, many clients supported