fixed circular dependencies, updated orm calls for recent schema changes, and added connection pooling to redis connection