refactor the join net code
Merge branch 'master' of https://github.com/justek-Wade/SmartHome.git