Groundwork for the mod