moved geo function into state fetch
added mappings dir and clear_cache function to base fetch