The MagPi backend optimized for mobile devices