Merge pull request #10 from applidget/stdin-redirect

Stdin/Stdout redirect
Merge pull request #15 from applidget/refactoring2

Refactoring2
Merge branch 'master' into load-config-from-toml