refactoring the layout
all images are formatted and loaded