add struct sql
use decorator
add paginator
improve paginate
Merge pull request #1 from supersheep/master

new