Move init and main to the top
Merge branch 'master' of github.com:rochacon/elastic-nginx