A validation class, best configure for bootstrap