Changed image loaders so that they can be used for the jar file