Re-configured to use pdo_mysql and Doctrine ORM instead of redis