Updated controller name in state configuration

Prevents errors from being shown in the console.
Abstracted header/footer rendering