FEATURE: major code re-factoring with removing all unnecessary code. Improved communication protocol.
INTERNAL: minor bug fixing.