Import and Export support for DM

added ability to import and export the learned maps
fixed AgentView DataGrid to include lines number