Restructures code to a setuptool package.