Fixed most issues and implemented everything but pinning on map.