Added example config file and implemented gpg encryption