Added System class, which owns windowing on both desktop and phone.