Modified worker architecture to enable cleaner structure and 3rd party libs in bot code