Added support for distribution management and removed unnecessary files