minor refactor
add commons-cli and manage it with a config object
Merge pull request #1 from kpacha/cli

delegate the arg parsing and encapsulate the server configuration into an object