Added New Constructor and 2 methods

Added a new constructor and 2 methods and removed main to deal with Driver file. I distrust driver files.