Moved controller to top of file