Began implementation of MPF: laid out framework and wrote certain utility functions