add *.sw{p,o} to .gitignore
add util.{c,h} for conf file parsing
add example config files
add conf file parsing