Constraints R1

Finished writing the first iteration of constraints and added
additional UI elements. Functionality still not added.