extracted MapManager inits

extracted MapManager initiation to it's own function init()