initialize gamecontroller