Added new method in the controller to save suites in java file.