Initial implementation of the multi-client version
Add support for multiple clients connected to the app at the same time