added job model and basic tests