Refactoring bin/hotspot, added config options for it. Removed test for local ip (unnecessary)