Add PFT packets and the main function.