General data structures with simple api useful for general c programming