added redis, dbmigrations, and encounter observer