moved AutoIndented to shared module and added mapJoin function