More refactoring, needs testing
Logging, clean up old jobs, refactoring
Merge pull request #138 from chsticksel/develop

Refactored web service