made reading scalar files a seperate function (easier for unit tests)
added support for scenarios on command line by means of command line switch "-s" (fixes #5)