OS can now run files with arguments.
Turned the current APIs into factories, to prevent unwanted JavaScript constructors.