Updated context

Job repository now uses a derby database.
First steps towards restartability