Updated working SADcl with all design patterns.