Cache Check

Added a Exists function to DB class. This checks if the cache object already exists. Useful to call before using Get, because Get crashes if the file does not exist.