50 es handler

Layed the foundation here. Right now only a method/test for pages, but the rest should come easy