Add interface

closes #17