move constants to separate module
add generic ContextDataProvider injection