Added feature: mapping config. fixed #1