Added SQLlogging class