Controllers improvements

Refactored most of controllers' code. Implemented rendering of map, pausing game, planting bomb, and many other small improvements (look at commit messages for more detailed info).