New sql 'clean' script, cleaning database related code.