Move all files, update tests in index and dimmer.