Refactor config into own module, add tests
Add newline in Makefile
Update basicauth with new config
Merge branch 'sburns-feature/better-config'