moved game logic from servlet to separate class
added player class