Added Gateway constructor to automatically use a RealTimePlatform, making usage simpler