Game controller

merged front and back end