Setup the framework of the mod