Split controller from main app
Seperate controller