Moved game_logic to new place.
Renamed some variables to match what they mean.