Added demo application, improved speed.