I just created an application to do this.
You can contact me with any questions. I have a couple of pointers that will make the development of your application a little easier.
Both.. When I try the BuildProject feature, it fails if your Project has espaces on the project file name or the root directory of the project.
The Download Project feature , throws an couple of errors.