A simple MySQL class