added methods required in MPCHandler.m, imported MPCHandler.h into AppDelegate