Added constructor
Added getName method