Update and rename imageSampler to imageSampler.java