changed some examples, redesigned the mirf libraries to fit our project