api - constraints classes moved to a common location