Revert "changed if / return if style to if / else if"

This reverts commit 055419d0f5722696a6004e69b4e33ede6421e6e6.
Revert "form model to load form.json"

This reverts commit 54facb9a1ab327dd35ea018115cdb0580dc7bb9b.
Revert "map refactoring"

This reverts commit 41ff4a80d43103a0d1e322918b8f303e03122c3b.