Moved "Flat" into SmackRep.
+ cleaned up SmackRep interface.