changed gamecontroller api to references and no QVector in gamecontroller class