Renamed main.c to demo.c as it's a demonstration of the API