Moved parseController to the controller parser