setup models vote, resource, repo, user, and gemm