2nd commit

adding functionality to map editor