Distributor class
Changing autotools target. It builds shared library for now.
install target fix
small delete[] fix
some changes