Extended API / ... 

Extended the API a bit / changed // that's what I ended up with at the end. More depending on page.js at the moment. Made it explicitly singletone. 
Merge or discuss as you like. This PR is mostly for showing a slightly different implementation.