If Statements

Created an object that holds all of the extensions instead of using all those if statements.