Changed GxController parent class to CController