Use Extern to define global information

Use Extern to define global images ,images_names and path.