Refactoring a bit

Moving constants into static variables accessible publicly by other
classes, onto the mapfileparser object.