refactor all map options to separate module