refactored dir into demos