All right let us implement this abstraction now
preferences is now a javascript file
refactored : moved the setting of additional pagination parameters

to the pagegination file
fields coming from preferences

tests passing. routes a lot simplified
works like a charm