Popup

This PR aims to:
1) add popup to display block details
2) refactoring code creating the MapWidget class