Initial setup of file structure and image map