added json parser and dynamic paginator
code cleanup