refactors squarepulse into lib and bin folder, adds setup.py and debian/