Support objects in ctypes
Print some compiler errors
Add some tests