Made the page list generator a class
Rewritten directory handling,added pagelist class
Also added 20 pixels on the right side of the right page