refactored globals into game and feedback.get

refactored globals into game object and created a feedback.get function
to handle different feedback operations