Articles/issue 390 configuration api v5

@dannycohen here we go :-) There are still a lot of grey areas, it is a first draft.

/cc @SimonCropp @johnsimons @indualagarsamy @SeanFeldman @sfarmar  please review and add comments to the missing parts.

Cheers
I have decided to keep the same structure we have for v4 and v3, but we can change it, if it makes no sense