Added constructors to all classes