Used design-pattern Singleton to prevent multiple instances of ImageLoader

Signed-off-by: Ricardo Leitão <ricardo7rl@gmail.com>