Added name check functionality and added data structures for storing name/image data