Started moving appController functions into separate controllers