gh-pages: organized the code