DM is now been learned as agents move

added support for Direction Map
+ fixed last commit it was rotten :)