Started process of modularizing the mod even further.