changes for classes

I changed a bit of code so now that the gamestate manager uses the
directXFramework so we can now actually handle everything from the game
state manager if we want.