A simple validation library