Extracted constraint classes to directory