app_factory: - This script runs a sample application on the Grid described in the file named "example.gdf", stored in "examples/resources" directory. - It creates a Job to discover the prime factors of a randomly generated big number. To do so, it uses the Fatora class to split the Job into a predefined number of tasks. Fatora generates a file called Job that contains all tasks and these tasks are added to MyGrid using the mygrid addjob script. - It receives a parameter to specify the number of intervals that the job will be splitted. The job is splitted in a way to generate aproximately 10 tasks. It is worthy to say that, this number of tasks may vary according to the random number generated to calculate its prime factors. - The tasks are executed by the Fat class that receives three parameters: interval beginning, interval ending and the number to be factored. It calculates the prime factors and stores them in files that are retrieved from the grid machines and stored in the "examples/two/output" directory.