The system consists of a client and a server. This client can make requests/ commands to the server.
The server will host the 'hub' application (The backend code with api endpoints), Every command will run through firebase (db)
server-id: {
device1-id: {'/endpoint', 'response if applicable'},
device2-id: {'/endpoint', 'response if applicable'},
device3-id: {'/endpoint', 'response if applicable'},
...
}