Add requirements.txt for pip and remove debug code