Initial module written to get random image.
Refactor code for get_image library.