proper parsing cmd-line arguments into Config struct