Changed names of classes.

Used a custom StateBasedMachine class instead of the Game class so I
could call the main game class Game. Created an interface state the
functions the same as a screen would. Changed the names around for
clarity.