encapsulate config in hash, add dot notation accessor