made apps db-based, added caching to phonewords.