- adjusted server decision depending of platform
- refactored really much, yolo