Edited the code to almost ready state and added the images.