created CRUD for paintings