added a constructor
added a run methode