Add a simple interface

Still needs proper exceptions/error handling, but assuming everything
goes as expected this will work.