refactoring native samples to new project structure