Refactored map plugin and the whole repo structure.