Some documentation for PT to help understand the source code and make contributing easier.