Database class

Added some comments for how to handle MySQL upgrade on a mac.