Basic Functionality

I think it is finally achieved.
Moved the logic inside proxy module where it should be.
Now the switch can connect properly.

Also fixed Issue #2