Completely rewrote internal structure

The internals have been rewritten to prepare for support of additional
front page item types (news, recent) and so that different XML files
can be used in the list allowing for better styled dividers and “next
page” buttons.