Development and Automatic Deployment of Distributed Control Applications