renamed statement to proper casing
indented cache purge call
protected database_filename creation
deleted cache entries from db by query