The middle service with the following functions.
1. Socket communication function between middle-service and server. API will be provided
2. Socket communication function between middle-service and client. API will be provided
3. Functions needed to provide the client with JSON (or similar) data needed to operate. Algorithms provided in JS
4. Storage of necessary data in their database(mongodb)
5. Provide the running middle-service on a plataform as Heroku.