Altering app mode initializer to fit new structure