Fixed texture loading
Changed main game class