Keeping track of player units

Wanted to push this before trying to sync in lab, but this makes the
gamecontroller keep track of Units and adds a gameover function.