ctypes: add enum support
ctypes: move to folder