Refactoring directory structure for examples.