Structural refactoring for Chrome Support. Started to work on Chrome plugin

and some issues with doorbell we need to discuss