Started work on porting database to the worker server.
CSV generation fixed. Job saving logic moved to worker server.
Switched worker server to JRuby.