started statistics
started new destination caching
small fixes
added back set caching
changed the way the destinations are cached