Started on basic framework for the C-binding