adds the action for the run botton. need to change the class constructors to accept input
comments out broken code until constructor issue can be resolved