setup and added some map direction helper functions
setup and added some map direction helper functions