Allow setting basic configuration using command line arguments. Closes #226.