View controller messed up

Rebuilt controller and renamed variables and attached views