Object oriented C library implementing various datatypes