Adjusted setup file and made python3 compatible