Tested config module.
Added pattern matching.