Added simple config file validation, some preparations for the template,
fixed a small command line options bug (jobs)