Working map

Fixed problem with clearing the cache.
Added callbacks for events

Click and context