Improve logic of setup.py
Add CONTRIBUTING.rst file