Add a basic C-interface

Signed-off-by: Christoph Höger <christoph.hoeger@tu-berlin.de>