Add requirements.txt file.
Remove silly try-block around imports, change shebangs to use /usr/bin/env