Add getType() to BaseCondition
Update readme