Formatted code, added some images, layout tries