Add initial game over module

a bit of refactoring