Moved AutoMapDirection to it's own file.