[WIP] Started work on C-wrapper library