creating IconStruct for server communication