refactor validate_all

makes it easy to add new validations
switch gemset
change path to lib