Refactored PDOStorageAbstract to get usage of ServiceManager.