Working game.

Added simple class interface.