Support to python2.6 and improvements in the example project