added db connectivity to server-side tbs games