Initiating the library, spark file and config items.