Added constraint class.
Started adding calculations.
Finished implementing calculation subclasses.