Demos added and changes made in the final version