Creating the Framework run() method