Final version. Rest service for jobs is now completed. Some changes are also made on design