Fixed distribution bugs and uploaded to pypi