fix sql manager
fix test sql manager
delete old files
add session module