refactoring directory structure: samples