Extract reading of nick into a separate function
Add specs for Config