map generation and navigation set up