timeout fix
refactoring, added workerfarm and sqlite db