Add artifacts to build for command programs, and remove the target directory.
Add working NearestNeighbourTestCommand.