added example

added config and command line example, made config more clear.