Revert "moved task queue related classes to logic.auotmated package"

This reverts commit 60bbf26e9ebd22131273c7d9f72688fdc42fcb90.