Use named tuple for the configuration.
Merge pull request #18 from flowersteam/tuple_config

Use named tuple for the configuration.