pytest setup
copied over the prototype
back to nasty package imports
removed parent so that qt can move the thread around
game hosting