a framework for game backend