Integration of PAFI

Added parser, writers, updated statistics to generalize, etc.