Trying to create a cached system to manage the DB