Mobility software firm opens R&D lab in Waterloo