More project-file restructuring, plus added unit tests framework and a couple of tests for NaiveResampler.