extract each class into its own file. name them from class name OwnerResource to owner_resource.py