move sources and tests to subdirectories