optimise build

`getFiles.js` and `makeIndex.js` were rewritten in order to simplify
the process of reading files and transforming into html
modify pages/Home and components/Timeline

in order to support slightly changed api;
pages/Home needs a clean up later