Look at Microsoft ESP SDK

ESP is a set of tools that enables simulation of real-world objects. The primary focus of this first release is aviation, and the primary scenario is training. The primary tool, ESP.exe, is a flight simulator, and this SDK can be used to create add-on components for it. These components can be new model, such as aircraft, instruments, ground vehicles, boats, buildings and other structures.