Update library to follow setuptools conventions