#3 implemented jobs parsing

the class job now has last state and current state
#3 minor refactoring
#3 misusing the app delegate to test the authentication challenge