Configuration loading

Configuration loads based on the files in the jobs folder and saves
(though previously saved configuration is not used right now)

Minor cleanup also