Overhauled .modinfo management and new mod creation