Added bootstrap. Implemented game logic