Turned into an interface

Turned into an interface because of issue 13