C interfaces for entity managaer and controller manager added. WIP.