Adding game over, refactoring code and organizing resources