Refactor main class
Separate classes for pages
Show list page also in HTML