Quick sketch of the lib with basic functionalities: nxt, prv