refactoring GameDB class and added debugging gems