modularized sql interface, can create and join game but not deal yet