re-ordered the main functions.
Merge branch 'master' of github.com:silicontrip/DroboDashboard