fixed setup.py and minor corrections to example app