fixes

- code cleaning
- sockets module
- fixing combo calculating algorithm
- comments