actually show classes on the page
add paginations to the api
correct pagination