Added pibot code, for download

This code is written by Github/TomStacey.