Split out map setup into separate file