Reorganize the Resources and Samples.