Speed up the compilation process v2

Sames as #113 except:

* trivial fixes and updates
* build data refactoring
* storing the data zlib compressed