This is an old thread, but perhaps it is worth having a look at a similar project that has gone quite far. The Greenheart project seems to be...