Updated the application module to start/stop components based on a media query.