Modularized wireless code