Make scheme constants global
Declare Product Pagination inline for tests
Add config struct
Add a functional implementation of ResourceMapper et. al.