Added inline documentation and checks for PT

Added inline documentation for better understanding.
Added checks for Pivotal Tracker configuration