Fix missing destructor
Add Repository and Compiler python libraries
Fix tools/CMakeLists.txt