update mapdirective

- make it restricted:'E'
- move it to directives folder
- add assertInstanceof