Input and Constraints Class