implement the configuration trait + tests
improve code by adding a base trait for dealing with the configuration results
improve the traits code
improve code for pattern matching
Merge pull request #23 from Spirals-Team/feature/configuration

feature/configuration