add template path determination to Entity
use relatives paths in MapXmlParser