created a ResourceLoader class to help with loading images in the jar. Also jar works