added job constructors and fixed a few things