Fixed code errors, added Settings class for holding game settings.