Added constructor

Created the class file and added a constructor.