Made ScopedMap an interface and started fleshing out MaSt