Renamed all instances of module to extension

Made to be in line with the nomenclature in the rest of the application.