Updated function object
Rewrote Monoid functions with currying
Fixed all occurences of updated APIs