moved the interfaces, typedefs, includes, defines from the C-library to a newly created header file, since that is the preferred C-style