Add .idea to .gitignore.
Use candiedyaml instead of go-yaml due to licensing issues.
Config file initialization returns error instead of panicking.