Was added class which contains constraints.
Ant algorithm draft.