Core: add ParticipantProcessor and its infrastructure. Close #127.