global refactoring

- changed way to build modules;
- added modules for binding related functionality;
- added modules for web-socket related functionality;