Changed the interface to a class

An interface cannot have member variables as required by this object