Added classes for Commitments. They are currently commented because they
depend on GUI stuff.