Re-organization of code to better isolate Jiffy code

Re-organized the code to remove uneeded code from the Jiffy core, and to
show some examples of how Jiffy would work