SQL Re-Organization.

Signed-off-by: KeiKun <the.keikun@gmail.com>
Organized sql-tools.
Updated sql-upgrade files.