disallow merge query into params
move query to each model plugin
add simple restful model plugin