Refactored Conditions to support And, Or and Not

Also added fileExists and some more simple conditions. I will add the docs as soon as the docs branch is merged.