refactored scripts, and initialized google coord map