Adding more python IO wrappers and beginning to add full argtypes and restype declarations