Finished work on the mysql purifier