Renamed mods to extensions. Updated code.
Formatted code.