Revert "Refactored code into BadGameLibrary."

This reverts commit 04dd664a8e3137394ca85c8c4b42a7bb5699299d.