Restructured the sources to put all the code in static library. Added compression-level option. Refactored the entry printer in tracer.