updated bowling game to be modular