Consolidate app context. Add encryption.