Added Cache to tools. Added local persistance to app-state model.