Added gui to details class to get input from user