Example and interface

Updated example and added missing interface to the project.