Added example; reorganized everything