1. download from magento website, it can not work
2. download magento2 from github https://github.com/magento/magento2 using branch merchat_beta
3. create a new module following https://github.com/ashsmith/magento2-controller-module
4. helloworld works