Add custom cast (csv)

Create a Cast class for custom casts.