Moved WorkflowDAO from bundle to main application