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
no value in this statement. if this assertion is not obvious from the above code then it is pointless to point it out