generic superclass for ANDs
Merge pull request #25 from wosiu/master

superclass for ANDs start