fix bugs for replication & a few performance improvement
add  in config
Support more SQL like command for tget/tupdate/tinsert