Replaced redefined sql class with common sql class

The sql classe redefined inside the file has been replaced by the one
used by the game.