Adds gh-pages deploy script.
Restructure load to init app earlier.