Added bootstrap ui modal
Implemented cache for some computation methods
Added basic modal for single player