Major refactoring on software library and installers