Added map with autocomplete and directions. Fixed DB leaks.