Fixed the router for Resolver
Added the PDO connection