refactor the lightmanager to CGIManger
Merge branch 'master' of https://github.com/justek-Wade/SmartHome.git