Added ability to get configuration from JVM arguments and enviornment
variables.