Set up directory structure and the main map class