refactore a few things
add jqgrid module