Integrating mobile device detection class into MW core