Ignore lib
Split image generation out into separate class
Use same url structure for images in dev and prod