Leveraging Task Modularity in Reinforcement Learning for Adaptable Industry 4.0 Automation | Synapse