created mysql db class