main modified
add new methods
add new methods
modified sql
add binary