Integrating Large Language Models for UAV Control in Simulated Environments: A Modular Interaction Approach