if else hell removed
Merge branch 'master' of https://github.com/naman90/validate-lib