Added total goal

@mhahn @guymorita please hook this up and review other changes.