refactors and updates map portion of the renting project