Split command-line arguments and logging into new

Settings/utils module