Creates vote resource.