Make package installable
Both setuptools' and distutils' setup() functions were used, which is wrong: setuptools is built on top of distutuls and should be used instead. Calling setup() twice lead to the fact that pip couldn't install the package because of two egg-infos generated.
In addition, some formatting was done in setup.py.