started a pager. renders html tables from JSON. working on sorting